package com.yb.guigu.pick.core.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.time.Duration;
import java.util.concurrent.TimeUnit;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/27 11:29
 * FileName: UserCodeExpire
 * Description:
 */

@Data
@ConfigurationProperties("guigu.pick.user")
public class UserCodeExpire {

    private Duration  emailCodeTimeout= Duration.ofSeconds(60);
    private Duration  mobileCodeTimeout= Duration.ofSeconds(60);


}
